package com.synergy.stockflow.production.create;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Schema
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MrdOrMVo {
    private String requisitionId; //领料Id
    private String requisitionCode; //领料编号
    private String materialId; //产品Id
    private String materialName; //产品名称
    private String specificationsAndModels; //规格型号
    private String unit; //单位
    private Double planQuantity; //计划数量
    private Double inventoryQuantity; //库存数量
    private Double actualQuantity; //实际数量
    private String warehouseId; //仓库Id
    private String warehouseName; //仓库名称
    private String detailId; //明细Id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
